package com.llc.gulimall.product.feign;

import com.llc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author llc
 * @Description
 * @Version
 * @date 2022/2/20 16:09
 */
@FeignClient("gulimall-seckill")
public interface SeckillFeignService {
    //调用远程查询商品秒杀信息
    @GetMapping("/sku/seckill/{skuId}")
     R getSkuSeckillInfo(@PathVariable("skuId") Long skuId);
}
